* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    cursor: none;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin-right: 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: .5rem 1rem;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ff7f50;
}

main section {
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

nav ul li a:hover {
    background-color: #50ff70bf;
    transform: scale(1.1);
    transition: background-color 0.5s ease, transform 0.5s ease;
}

@keyframes bgChange {
    0% {
        background-image: linear-gradient(to right, #333 0%, #444 100%);
    }

    50% {
        background-image: linear-gradient(to right, #ff7f50 0%, #ff6347 100%);
    }

    100% {
        background-image: linear-gradient(to right, #333 0%, #444 100%);
    }
}

/* 气泡 */
.bubbles {
    position: relative;
    pointer-events: none;
}

.bubble {
    width: 30px;
    height: 30px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(60, 236, 242, 0) 0%, rgba(252, 250, 136, 0.5) 100%);
    position: absolute;
    border-radius: 50%;
    animation: float 10s infinite;
}

/* 为每个气泡添加不同的位置和动画 */
.bubble:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-duration: 6s;
}

.bubble:nth-child(2) {
    top: 30%;
    left: 50%;
    animation-duration: 6s;
}

/* 更多气泡样式... */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.pointer {
    pointer-events: none;
    /* 这将使pointer元素不捕获点击事件 */
}

/* 原始样式 */
.pointer::after {
    content: "💕";
    font-size: 40px;
    /* 添加透明度和动画 */
    opacity: 1;
    animation: fadeInOut 2s infinite;
}

/* 定义关键帧动画 */
@keyframes fadeInOut {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* 添加过渡效果，使得透明度变化更加平滑 */
.pointer::after {
    transition: opacity 0.3s ease;
}

.full-screen-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* 确保鼠标事件穿透到下面的内容 */
    border: 10px solid;
    /* 边框宽度可以根据需要调整 */
    border-image-source: linear-gradient(60deg, #7cff50, #5fecc9, #ec73ec, #f259b2);
    border-image-slice: 1;
    animation: borderGradientAnimation 2s ease infinite;
}

@keyframes borderGradientAnimation {
    0% {
        border-image-source: linear-gradient(60deg, #73ff50, #48d4ac, #7058dc, #df5eba);
    }

    50% {
        border-image-source: linear-gradient(60deg, #ee82ee, #f6ff74, #85f99c, #4fb5f0);
    }

    100% {
        border-image-source: linear-gradient(60deg, #a8ff66, #6cf58c, #82ecee, #935bee);
    }
}